﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TireService.Web.Reports.View
{
    public partial class TireSetLabels : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                string[] ContainerCargoRoomIdArray = Convert.ToString(Request.QueryString["ContainerCargoRoomId"]).Split(',');

                List<int> ContainerCargoRoomId = new List<int>();

                foreach (string id in ContainerCargoRoomIdArray)
                {
                    int roomid = Convert.ToInt32(id);
                    ContainerCargoRoomId.Add(roomid);
                }

                // Load report
                this.ReportViewer1.Report = new Reports.Design.TireSetLabels(ContainerCargoRoomId);
                
            }
            catch (Exception)
            {


            }
        }
    }
}